<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
<xsl:template match="HeaderAndClass">

<xsl:comment>IF YOU ARE VIEWING THIS IN VISUAL STUDIO, RIGHT CLICK AND SELECT 'VIEW IN BROWSER' TO SEE THIS FILE CORRECTLY</xsl:comment>

<html>
  <head>
    
    <title>GENNIT Readme for <xsl:value-of select="HeaderInfo/ProjectName"/> NHibernate 1.2 Project</title>
    <style type="text/css">
    
        body { font-family: 'Century Gothic', 'Verdana'; font-size:14pt; }
        #title { font-size:22pt; margin-left:10px; }
        p { margin-left:10px; }
        ul li { margin-left:10px; margin-bottom:20px; }
        div.tip { border:solid 1px #c0c0c0; background-color:#FFFFDD; padding:10px; font-size:10pt; margin-left:40px; margin-right:40px; }
        span.code { font-family: 'Courier New'; }
	table { margin-left:20px; width:90%; border-collapse:collapse; }
	table tr td { border:solid 1px #f0f0f0; padding:10px; }
    </style>
  </head>
  <body>
    <a href="http://www.gennit.com"><img src="http://www.gennit.com/img/logo.png" border="0" style="vertical-align:middle" /></a><div id="title"><xsl:value-of select="HeaderInfo/ProjectName"/> Project - README</div>
    <hr size="1" />
    <p>Hey! Well done you've got this NHibernate 1.2 download of your <xsl:value-of select="HeaderInfo/ProjectName"/> project downloaded. <a href="#quickStart">Jump to QuickStart</a></p>
    <hr size="1" />
    <p><strong>Generated File Information</strong></p>
    <p>Not all files are listed here. Just the project file names. If you do not have Visual Studio - You can still use this project.</p>
    <table>
	<tr>
		<td><a><xsl:attribute name="href"><xsl:value-of select="HeaderInfo/ProjectName"/>.sln</xsl:attribute><xsl:value-of select="HeaderInfo/ProjectName"/>.sln</a></td>
		<td>Visual Studio Solution File</td>
	</tr>
	<tr>
		<td><a><xsl:attribute name="href">Core/<xsl:value-of select="HeaderInfo/ProjectName"/>.Core.csproj</xsl:attribute>Core/<xsl:value-of select="HeaderInfo/ProjectName"/>.Core.csproj</a></td>
		<td>Core Library CSPROJ - This contains DataAccess definitions and interfaces for your Data Access Layer</td>
	</tr>
	
	<tr>
		<td><a><xsl:attribute name="href">Data/<xsl:value-of select="HeaderInfo/ProjectName"/>.Data.csproj</xsl:attribute>Core/<xsl:value-of select="HeaderInfo/ProjectName"/>.Data.csproj</a></td>
		<td>Data Library CSPROJ - Data Access Library which contains NHibernate Implementation</td>
	</tr>

	<tr>
		<td><a><xsl:attribute name="href">Test/<xsl:value-of select="HeaderInfo/ProjectName"/>.Web.csproj</xsl:attribute>Core/<xsl:value-of select="HeaderInfo/ProjectName"/>.Web.csproj</a></td>
		<td>Test Library CSPROJ - NUnit Test Library - Test functionality of classes to ensure they are communicating with database</td>
	</tr>

	<tr>
		<td><a><xsl:attribute name="href">Web/<xsl:value-of select="HeaderInfo/ProjectName"/>.Web.csproj</xsl:attribute>Core/<xsl:value-of select="HeaderInfo/ProjectName"/>.Web.csproj</a></td>
		<td>Web Library CSPROJ - Web Application Demo - shows data in grids and provides basic insert functionality</td>
	</tr>
    </table>
    

    
    <hr size="1" />
    <p><strong><a name="quickStart">Quick Start Guide</a></strong></p>
    <ul>
	<li>Ensure .NET is installed at -<br /><span class="code" style="font-size:13pt"><xsl:value-of select="ref3"/></span></li>
        <li>Ensure you have NHibernate 1.2 installed at -<br />
        <span class="code" style="font-size:12pt"><xsl:value-of select="HeaderInfo/ref1"/></span>
        <br /><br />
        If not <a href="http://nhibernate.org">download NHibernate</a> or modify your .csproj files.</li>
        <li>Ensure you have NUnit installed at -<br />
        <span class="code" style="font-size:12pt"><xsl:value-of select="HeaderInfo/ref2"/></span>
        <br /><br />
        If not <a href="http://nunit.org">download NUnit</a> or modify your .csproj file and/or build.cmd.</li>
        <li>Connect to your SQL Server instance and create the database using the SQL script located at <a><xsl:attribute name="href">SQL\Database<xsl:value-of select="HeaderInfo/ProjectName"/>.sql</xsl:attribute>SQL\Database<xsl:value-of select="HeaderInfo/ProjectName"/>.sql</a></li>
    </ul>
    <ul>
        <li>Ensure your database can be accessed via the connection string -<br /><span class="code" style="font-size:12pt"><xsl:value-of select="HeaderInfo/DBConnection"/></span><br /><br />
        If not, you need to modify your web.config and app.config in Web and Test projects.</li>
        <li>Build your solution and run the Test project. NUnit will show green lights if your installation and DAL is working successfully.</li>
	<li>If you are not familar with <a href="http://nhibernate.org">NHibernate 1.2 checkout their site and documentation</a>.</li>
    </ul>
    <hr style="1" />
    If you have any problems check the <a href="http://forums.gennit.com">GENNIT Forums</a> for limited support.
    <br/><br/><br/><br/>
  </body>
</html>
     
   

    </xsl:template>
  

</xsl:stylesheet>